<!--
 * @Author: wangming
 * @Date: 2020-09-16 09:16:01
 * @LastEditors: wangming
 * @LastEditTime: 2021-09-29 14:00:40
 * @Description: file content
-->
<template>
  <date-picker
    prefix-class="xmx"
    popupClass="reset-date-picker-zindex"
    :value="value"
    valueType="timestamp"
    @change="changeDate"
    :editable="false"
    placeholder="请选择日期"
    type="datetime"
  >
  </date-picker>
</template>

<script>
export default {
  props: ["value"],
  components: {},
  data() {
    return {};
  },
  methods: {
    changeDate(date) {
      this.$emit("input", date || undefined);
    },
  },
};
</script>


